package com.avapir.snake.Actors.NPC;

import java.awt.Graphics;

import com.avapir.snake.Actors.CellElement;
import com.avapir.snake.Actors.PC.Snake;

/**
 * Objects of this class creates randomly as food.<br>
 * Then some was gathered it will appear as snake`s (who got this {@link Seed})
 * {@link Snake#weapon}
 * 
 * @author Alpen Ditrix
 */
public class Seed extends CellElement {

	/**
	 * Types of  
	 * @author Alpen Ditrix
	 */
	public enum SeedType {
		/**
		 * Player will be able to install wall in few seconds at requested place.
		 */
		WALL, 
		
		/**
		 * It will explode at requested place
		 */
		BOMB
	}

	private SeedType type;

	protected Seed(SeedType t, int x, int y) {
		super(x, y);
		type = t;
	}

	@Override
	public void draw(Graphics g) {
		// TODO Auto-generated method stub

	}

	/**
	 * @return type of this {@link Seed}
	 */
	public SeedType getType() {
		return type;
	}

}
